package org.alex.samples.service;

import java.util.List;

import org.alex.samples.dao.IExamUserSubjectDAO;
import org.alex.samples.vo.SubjectVO;
import org.alex.samples.vo.UserVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ExamUserSubjectServiceImpl implements IExamUserSubjectService {
	@Autowired
	IExamUserSubjectDAO examUserSubjectDAO;
	
	@Override
	public List<UserVO> FindAllUserByS(Integer subjectId) {
		return null;
	}

	@Override
	public List<SubjectVO> FindAllSubjectByU(Integer userId) {
		return examUserSubjectDAO.FindAllSubjectByU(userId);
	}

	@Override
	public SubjectVO FindSubjectByUserIdSubjectId(Integer id, Integer subjectId) {
		return examUserSubjectDAO.FindSubjectByUserIdSubjectId(id,subjectId);
	}



	

	

}
